package com.zlc.workflow.constant;

/**
 * 解析所需常量
 *
 * @author zhanglei
 */
public class ParserConstant {


    public static final String TO = "to";

    //节点ID
    public static final String NODE_ID = "nodeId";

    //节点编号
    public static final String NODE_NUM = "nodeNum";

    //节点名称
    public static final String NODE_NAME = "nodeName";

    //来源位置
    public static final String SOURCE = "source";

    //去向位置
    public static final String TARGET = "target";

    //X
    public static final String X_LOCAL = "x";

    //Y
    public static final String Y_LOCAL = "y";

    public static final String NULL_STR = "";

    public static final String P_HTM = "<p>";

    public static final String RED_P_HTM = "<p style=\"color:red\">";

    public static final String P_HTML_ = "</P>";

    public static final String LT = "&lt;";

    public static final String GT = "&gt;";

    public static final String DOCTYPE = "DOCTYPE";

    public static final String NODE_ID_PREFIX = "ID_";

    public static final String WORKFLOW_PROCESS_SYSTEM = "workflow-1-process.dtd";

    public static final String WORKFLOW_PROCESS_DTD = "com/zlc/workflow/flow/parser/dtd/workflow-1-process.dtd";

    public static final String  DTD = "<!DOCTYPE process PUBLIC \"-//workflow\" \"workflow-1-process.dtd\">";

    public static final String XML_DOC = "?>";

    public static final String XML_TAIL = ">";

    public static final String XML_HEAD = "<";

    public static final String XML_TAIL_ = "/>";

}
